package com.zc.auth.security.core.exception;

import org.springframework.security.access.AccessDeniedException;

/**
 * 角色访问拒绝异常
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/7/11 16:42
 */
public class AnonymousAccessDeniedException extends AccessDeniedException {


    public AnonymousAccessDeniedException(String msg) {
        super(msg);
    }

    public AnonymousAccessDeniedException(String msg, Throwable t) {
        super(msg, t);
    }
}
